package com.apexedu.eas.entity;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Transient;

/**
 * 考试成绩信息
 * Created with IntelliJ IDEA.
 * User: ly
 * Date: 13-11-18
 * Time: 下午5:10
 * To change this template use File | Settings | File Templates.
 */
@javax.persistence.Table(name = "TJX_CJJXB")
@Entity
public class TjxCjjxb {
	private Long id;
	private Long xq; //学期
	private Long jxb; //教学班id
	private Long kc; //课程id
	private Long cjlx; //成绩类型
	private Integer pscjzb; //平时成绩占比
	private Integer ckrs; //参加考试人数
	private Integer sftj; //是否提交

	private String ksmc; //考试名称
	private Long ylrs; //已录入人数
	private Long wlrs; //未录入人数

	public TjxCjjxb() {
	}

	public TjxCjjxb(Long id, Long xq, Long jxb, Long kc, Long cjlx, Integer pscjzb, Integer ckrs,
					 Integer sftj, String ksmc, Long ylrs, Long wlrs) {
		this.id = id;
		this.xq = xq;
		this.jxb = jxb;
		this.kc = kc;
		this.cjlx = cjlx;
		this.pscjzb = pscjzb;
		this.ckrs = ckrs;
		this.sftj = sftj;
		this.ksmc = ksmc;
		this.ylrs = ylrs;
		this.wlrs = wlrs;
	}

	@javax.persistence.Column(name = "ID")
	@Id
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@javax.persistence.Column(name = "XQ")
	@Basic
	public Long getXq() {
		return xq;
	}

	public void setXq(Long xq) {
		this.xq = xq;
	}

	@javax.persistence.Column(name = "JXB")
	@Basic
	public Long getJxb() {
		return jxb;
	}

	public void setJxb(Long jxb) {
		this.jxb = jxb;
	}

	@javax.persistence.Column(name = "KC")
	@Basic
	public Long getKc() {
		return kc;
	}

	public void setKc(Long kc) {
		this.kc = kc;
	}

	@javax.persistence.Column(name = "CJLX")
	@Basic
	public Long getCjlx() {
		return cjlx;
	}

	public void setCjlx(Long cjlx) {
		this.cjlx = cjlx;
	}

	@javax.persistence.Column(name = "PSCJZB")
	@Basic
	public Integer getPscjzb() {
		return pscjzb;
	}

	public void setPscjzb(Integer pscjzb) {
		this.pscjzb = pscjzb;
	}

	@javax.persistence.Column(name = "CKRS")
	@Basic
	public Integer getCkrs() {
		return ckrs;
	}

	public void setCkrs(Integer ckrs) {
		this.ckrs = ckrs;
	}

	@javax.persistence.Column(name = "SFTJ")
	@Basic
	public Integer getSftj() {
		return sftj;
	}

	public void setSftj(Integer sftj) {
		this.sftj = sftj;
	}

	@Transient
	public String getKsmc() {
		return ksmc;
	}

	public void setKsmc(String ksmc) {
		this.ksmc = ksmc;
	}

	@Transient
	public Long getYlrs() {
		return ylrs;
	}

	public void setYlrs(Long ylrs) {
		this.ylrs = ylrs;
	}

	@Transient
	public Long getWlrs() {
		return wlrs;
	}

	public void setWlrs(Long wlrs) {
		this.wlrs = wlrs;
	}
}
